<?php

namespace App\models;

use Illuminate\Database\Eloquent\Model;

class Reply extends Model
{
    protected $table = 'reply';
    public $timestamps = false;
    //进行回复评论
    public static function dorepling($com_id,$comment_id,$reply_content)
    {
        $c=new Reply();
        $c->com_id=$com_id;
        $c->comment_id=$comment_id;
        $c->reply_content=$reply_content;
        return $c->save();
    }
}
